package com.ruoyi.common.utils;

import okhttp3.Request;

import java.io.IOException;

/**
 * Created by Administrator on 2017/2/24.
 */
public interface IDataCallBack {

    void requestFailure(Request request, IOException e);

    void requestSuccess(String result) throws Exception;
}
